package com.testjpa.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * 作者: LCG
 * 日期: 2020/5/19 17:20
 * 描述:
 */
@FeignClient(name = "consule-client2",fallback = TestClientApiFailBack.class )
@Component
public interface TestClientApi {

   @RequestMapping(value = "test02",consumes = "application/json")
   public String test05(@RequestBody Map<String, Object> map);

}
